{include file="public/head" /}

<body>
<div class="x-body">
    <form class="layui-form" method="post" action="#">
        <div class="layui-form-item">
            <label for="community_id" class="layui-form-label">
                <span class="x-red">*</span>所属小区:
            </label>
            <div class="layui-input-inline" style="text-align: left; width:300px;">
                <select id="community_id" name="community_id">
                    <option value="" selected="true">请选择小区</option>
                    {foreach $communitylist as $comm}
                    <option value="{$comm.community_id}">{$comm.community_name}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label for="buyerName" class="layui-form-label">
                <span class="x-red">*</span>购方名称:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="buyerName" name="buyerName" class="layui-input" style="width:300px;">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="buyerName" class="layui-form-label">
                <span class="x-red"></span>购方税号:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="buyerTaxNum" name="buyerTaxNum" class="layui-input" style="width:300px;">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="buyerName" class="layui-form-label">
                <span class="x-red"></span>购方地址:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="buyerAddress" name="buyerAddress" class="layui-input" style="width:300px;">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="buyerName" class="layui-form-label">
                <span class="x-red"></span>购方电话:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="buyerTel" name="buyerTel" class="layui-input" style="width:300px;">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="buyerBank" class="layui-form-label">
                <span class="x-red"></span>开户行:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="buyerBank" name="buyerBank" class="layui-input" style="width:300px;">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="buyerAccount" class="layui-form-label">
                <span class="x-red"></span>账号:
            </label>
            <div class="layui-input-inline">
                <input type="text" id="buyerAccount" name="buyerAccount" class="layui-input" style="width:300px;">
            </div>
        </div>




        <div class="layui-form-item">
            <label for="L_repass" class="layui-form-label">
            </label>
            <div class="layui-btn" onclick="x_admin_show('添加详情','{:url(\'detailsadd\')}',500,500)"><i class="layui-icon"></i>添加详情</div>


            <button  class="layui-btn" lay-filter="add" lay-submit="">
                添加
            </button>
        </div>
    </form>
</div>

<script>var _hmt = _hmt || []; (function() {
    var hm = document.createElement("script");
    hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(hm, s);
})();
</script>
</body>

</html>